<?php
class IndexAction extends CommonAction {
    public function index(){
    	if(session('?username')){
        	$this->display();	
    	}else{
    		$this->redirect('Login/index');
    	}
    }
}